package com.sxfq.loansupermarket.backsystem.modular.tcCenter.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.sxfq.loansupermarket.backsystem.modular.arrival.entity.CustomerInfo;
import com.sxfq.loansupermarket.backsystem.modular.arrival.entity.SearchCustomerInfo;
import com.sxfq.loansupermarket.backsystem.modular.basicData.entity.PayServiceInfo;
import com.sxfq.loansupermarket.backsystem.modular.tcCenter.entity.*;

import java.util.List;

/**
 * 预约客户信息
 *
 * @author py
 * @Date 2018年4月19日23:15:54
 */
public interface IConsultantService {

    List<ConsultantInfo> selectPageListByQueryGetMap(Page<ConsultantInfo> page, SearchConsultantInfo info);

    int getQueryPagesCount(Page<ConsultantInfo> page, SearchConsultantInfo info);

    ConsultantInfo selectOneById(String bookingId);

    int update(ConsultantInfo info);

    int insert(ConsultantInfo info);

    int insert(CustomerInfo info);

    int insertNoDeal(DealInfo info);

    int updateDeal(DealInfo info);

    int insertDeal(PaymentInfo info);

    int insertReturnVisit(CustomerInfo info);

    int updateIsReturnVisit(CustomerInfo info);

    int updateDiagnosisStatus(String id);

    List<ConsultantInfo> selectDiagnosisById(String customerId);

    List<PayServiceInfo> getPayServiceInfoList();

    List<AddVisitedInfo> getRevisitRecordList(String reservationsId);

    List<ConsultantInfo> getConsultantInfoList(String reservationsId);

    List<DealInfo> getDealInfoInfoList(String customerId);

    List<CustomerInfo> consultantExport(SearchCustomerInfo searchInfo);

    List<CustomerInfo> consultantExportt(SearchCustomerInfo searchInfo);

    List<CustomerInfo> consultantExporttt(SearchCustomerInfo searchInfo);

}
